package jp.dodododo.aop.interceptors;

import jp.dodododo.aop.annotation.Enhance;

/**
 * {@.en }
 * 
 * <br />
 * 
 * {@.ja }
 * 
 * @author Satoshi Kimura
 */
@Enhance(false)
public class ToStringInterceptor extends TakeOverInterceptor {

	@Override
	public String toString() {
		Object target = getThis();
		try {
			return ToStringer.toString(target);
		} catch (Exception e) {
			return "" + target;
		}
	}

}
